package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.result.Result;
import com.example.entity.dto.PojoDto;
import com.example.entity.vo.AddFirstInspectionXianChangNoInsertVo;
import com.example.entity.yifei.Qmsmg;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface QmsmgService extends IService<Qmsmg> {

    Result<Map<String, Qmsmg>> queryPage(PojoDto pojoDto);

    Result insert(List<Qmsmg> qmsmgList);

    Result update(Qmsmg qmsmg);

    Result delete(String MG002,String MG003);

    Result<Qmsmg> queryXq(String MG002,String MG003);

    Result getExcels(MultipartFile file, HttpServletResponse response) throws IOException;

    Result getExcels2(MultipartFile file, HttpServletResponse response, String zhi) throws IOException;

    Integer addFirstInspectionXianChang(String uuid, String jinzhanUuid);

    AddFirstInspectionXianChangNoInsertVo addFirstInspectionXianChangNoInsert(String uuid, String jinzhanUuid, Long iheadUid);

    Boolean tc30IsN(String tc001, String tc002);

    Result checkExcel(MultipartFile file, HttpServletResponse response);

    Result exportExcel();
}
